function mineReadFile(path){
    return new Promise((resolve, reject) =>{
        require("fs").readFile(path,(err,data)=>{
            if(err) reject(err)
            resolve(data)
        })
    })
}
export default mineReadFile